home *** CD-ROM | disk | FTP | other *** search
/ Cinema Studio: Frank Herrmann / Cinema Studio - Frank Herrmann.iso / tools / pbm / manuals / pbmtext.man < prev    next >
Text File  |  1994-03-01  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      pbmtext(1)           AMIGA (26 October 1993)           pbmtext(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           pbmtext - render text into a bitmap
  10.  
  11.      SYNOPSIS
  12.           pbmtext [-font fontfile] [-builtin fontname] [text]
  13.  
  14.      DESCRIPTION
  15.           Takes the specified text, either a single line from the
  16.           command line or multiple lines from standard input, and
  17.           renders it into a bitmap.
  18.  
  19.      OPTIONS
  20.           By default, pbmtext uses a built-in font called bdf (about a
  21.           10 point Times-Roman font).  You can use a fixed width font
  22.           by specifying -builtin fixed.
  23.  
  24.           You can also specify your own font with the -font flag.  The
  25.           fontfile is either a BDF file from the X window system or a
  26.           PBM file.
  27.  
  28.           If the fontfile is a PBM file, it is created in a very
  29.           specific way.  In your window system of choice, display the
  30.           following text in the desired (fixed-width) font:
  31.  
  32.               M ",/^_[`jpqy| M
  33.  
  34.               /  !"#$%&'()*+ /
  35.               < ,-./01234567 <
  36.               > 89:;<=>?@ABC >
  37.               @ DEFGHIJKLMNO @
  38.               _ PQRSTUVWXYZ[ _
  39.               { \]^_`abcdefg {
  40.               } hijklmnopqrs }
  41.               ~ tuvwxyz{|}~  ~
  42.  
  43.               M ",/^_[`jpqy| M
  44.  
  45.           Do a screen grab or window dump of that text, using for
  46.           instance xwd, xgrabsc, or screendump.  Convert the result
  47.           into a pbm file.  If necessary, use pnmcut to remove
  48.           everything except the text.  Finally, run it through pnmcrop
  49.           to make sure the edges are right up against the text.
  50.           pbmtext can figure out the sizes and spacings from that.
  51.  
  52.      SEE ALSO
  53.           pbm(5), pnmcut(1), pnmcrop(1)
  54.  
  55.      AUTHOR
  56.           Copyright (C) 1993 by Jef Poskanzer and George Phillips
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 3/1/94)
  64.  
  65.  
  66.  
  67.